﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Admin.Master" Inherits="System.Web.Mvc.ViewPage<CourseSystem.Core.Entities.QuestionLibInfo>" %>

<%@ Import Namespace="Chowpoo.Util" %>
<%@ Import Namespace="CourseSystem.Common.Helpers" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    <%=Model.Type==3?"论述题答案管理":"思考题答案管理" %>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <% var title = Model.Type == 3 ? "论述题答案管理" : "思考题答案管理";
       var fromId = ViewData["fromId"].CheckInt(0); %>
    <% Html.RenderPartial("AdminTopUc", title); %>
    <table width="100%" border="0" cellpadding="0" cellspacing="1" class="table03">
        <tr class="box03">
            <td width="50%">
                <%=Model.Title %>
            </td>
            <td height="28">
                <div>
                    <%if (fromId == 0)
                      { %><%=Html.ActionButton("返回", "Lib")%><%}
                      else
                      { %>
                    <%=Html.ActionButton("返回", "ExaminationItem",new{eid=fromId,Model.Type})%>
                    <% } %>
                </div>
            </td>
        </tr>
    </table>
    <table width="100%" height="5" border="0" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF">
        <tr>
            <td height="5" bgcolor="#FFFFFF">
            </td>
        </tr>
    </table>
    <div id="listDiv">
        <% Html.RenderAction("AnsEditUc", new { Qid = Model.Id }); %>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="HeaderContent" runat="server">
    <script type="text/javascript">
        $(function () {

        });

         

    </script>
</asp:Content>
